/**
 * FileName: LoginServiceImpl
 * Author:   Administrator
 * Date:     2018/10/24 8:52
 * Description: 系统登录业务实现类
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.fortune.rainshinesystem.service.impl;

import com.fortune.rainshinecommon.base.MsgModel;
import com.fortune.rainshinecommon.enums.RespStatusEnum;
import com.fortune.rainshinesystem.mapper.LoginMapper;
import com.fortune.rainshinesystem.model.LoginModel;
import com.fortune.rainshinesystem.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 〈一句话功能简述〉<br> 
 * 〈系统登录业务实现类〉
 *
 * @author Administrator
 * @create 2018/10/24
 * @since 1.0.0
 */
@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMaper;

    public MsgModel<String> loginInfo(Integer id){
        return new MsgModel("查询数据成功", RespStatusEnum.SUCCESS,loginMaper.selectById(id));

    }

}